<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<title>sin título</title>
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<meta name="generator" content="Geany 0.17" />
	<link rel="stylesheet" type="text/css" href="css/jquery-console.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/jquery.console.js"></script>
	<script type="text/javascript" src="js/JsonToXML.js"></script>
</head>

<body>
	<script type="text/javascript">
	$(document).ready(function(){
		
		parser = new jsonToXML();
		
		out.println(parser.process({
			img:{ $attr:{alt: "Imagen", src: "not-found.png"}, $self:true },
			
			div:{ $attr: {id: "Un div!", Class: "some-div"},
				h1:{
					$text: "a nested title"
				},
				p:{
					$text: "Some text in a paragraph"
				},
				a:{ $attr:{ href: "http://www.vidaextra.com", title: "Vidaextra!"},
					$text: "VX"
				}
			},
		}));
	});
	</script>
</body>
</html>
